Platform Explorer / Nuxeo Platform 6.0

Extension point uriResolver

Documentation

Contribute uriResolver. A uriResolver maps from URI send to the annotea server and maps them to the URI stored in the graph. The aim is to be able to treat as the same document, 2 different URL. An example could be annotation on a javadoc class. You want to be able to annotates it, wherever is the server showing the javadoc.

You need to map from the source URI to the URI stored in the server, but also to map from a source URI to all the URI that will be considered 'same' when doing a search.

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.annotations.descriptors.UriResolverDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-annot-repo-6.0.jar
    <extension point="uriResolver" target="org.nuxeo.ecm.platform.annotations.services.AnnotationsService">
    		<urlResolver class="org.nuxeo.ecm.platform.annotations.repository.DefaultNuxeoUriResolver"/>
    	</extension>
  • nuxeo-annot-core-6.0.jar
    <extension point="uriResolver" target="org.nuxeo.ecm.platform.annotations.services.AnnotationsService">
    		<urlResolver class="org.nuxeo.ecm.platform.annotations.service.DefaultUriResolver"/>
    	</extension>